<script setup lang="ts">
import "./markup/node"
// import "pack-antv-x6/dist/style.css"
import { PackAntvX6 } from "pack-antv-x6"
import Main from "./main"

const {main,id} = defineProps<{main:Main,id?:string}>()

// const main = new Main();
// 测试节点

</script>

<template>
    <PackAntvX6 :main="main" :id="id"></PackAntvX6>
</template>

<style>
.hightlight-available {
    fill: #bae637;
}

.hightlight-adsorbed {
    fill: #52c41a;
}
</style>